package com.ychs.lawyer.service;

import com.ychs.lawyer.bean.Contract;
import com.ychs.lawyer.bean.ContractCancellations;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: clh
 * @Date: 2024/07/30/10:32
 * @Description:
 */
public interface ContractService {
    public List<Contract> getContractsByCondition(Contract contract);

    int addContract(Contract contract);

    int editContract(Contract contract);

    int changeContractActive(Contract contract);

    int delContract(Contract contract);

    List<ContractCancellations> getCancelContract(ContractCancellations contractCancellations);

    int reStart(String  cancellationId);
}
